// 枚举类，事件也在这里定义

export enum GameEventType {
    /** 游戏开始 */
    Game_Start = "Game_Start",
    /** 增加能量 */
    Increase_Energy = "Increase_Energy",
    /** 初始化道具 */
    Drop_Init = "Drop_Init",
    /** 掉落道具 */
    Drop_Item = "Drop_Item",
    /** 游戏结束 */
    Game_Over = "Game_Over",
    /** 触发道具buff */
    Item_Buff = "Item_Buff",
    /** 玩家缩放效果 */
    Player_Scale_Effect = "Player_Scale_Effect",
    /** 屏幕闪红效果 */
    Flash_Red_Effect = "Flash_Red_Effect",
    /** 减少玩家生命值(减去一颗爱心) */
    Player_Health_Reduced = "Player_Health_Reduced",
    /** 玩家状态更新，比如死亡、暂停 */
    Player_Status_Update = "Player_Status_Update",
    /** 获取道具后，玩家身上播放发光效果 */
    Player_Glow_Effect = "Player_Glow_Effect",
    /** 生成一叠方块 */
    Generate_Stack_Blocks = "Generate_Stack_Blocks",
    /** 改变下降滚动速度 */
    Change_Roll_Speed = "Change_Roll_Speed",
    /** 停止创建数字块 */
    Stop_Create_Block = "Stop_Create_Block",
    /** 数字块破碎 */
    Block_Broken = "Block_Broken",
    /** 分辨率变更 */
    Screen_Change = 'Screen_Change',
}

export enum BulletType {
    Normal,
    /** 炸弹爆炸 */
    Bomb,
    /** 乌兹 */
    UZI,
}

export enum GameOverType {
    /** 时间到了 */
    TimeOver = 0,
    /** 游戏胜利 */
    GameWin,
    /** 玩家死亡 */
    PlayerDie,
}

/** 强化道具类型 */
export enum ItemType {
    /** 增加弹道 */
    Trajectory,
    /** 爆炸弹 */
    Bomb,
    /** 增加攻击力 */
    ACT,
    /** 乌兹弹 */
    UZI,
    /** 胜利 */
    WIN,
}

/** 数字块类型 */
export enum BlockType {
    Unknown = "Unknown",
    ChengHuang = "PuoSui_ChengHuang",
    Fense = "PuoSui_Fense",
    HongSe = "PuoSui_HongSe",
    Huang = "PuoSui_Huang",
    LanSe = "PuoSui_LanSe",
    LvSe = "PuoSui_LvSe",
    QianZi = "PuoSui_QianZi",
    ShenZi = "PuoSui_ShenZi",
    TianLan = "PuoSui_TianLan",
}

export enum BlockType2 {
    Unknown = "Unknown",
    ChengHuang = "PuoSui_ChengHuang03",
    Fense = "PuoSui_Fense02",
    HongSe = "PuoSui_HongSe02",
    Huang = "PuoSui_Huang03",
    LanSe = "PuoSui_LanSe03",
    LvSe = "PuoSui_LvSe04",
    QianZi = "PuoSui_QianZi4",
    ShenZi = "PuoSui_ShenZi02",
    TianLan = "PuoSui_TianLan04",
}
